package com.baidu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("wallet")
public class Wallet implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 钱包id
     */
    @TableId(value = "wid", type = IdType.AUTO)
    private Integer wid;

    /**
     * 用户id
     */
    private Integer userid;

    /**
     * 钱包余额
     */
    private Double moneys;


}
